<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:2px; margin-bottom:2px">
	<tr>
		<td id="content-header-left" align="center" >Recent Movies</td>
		<td  id='content-header-center' align='center'>Welcome to the maascreen.com Telugu Cinema Trailers</td>
		<td id="content-header-right" ></td>
	</tr>	
	<tr>
	<td  bgcolor="#F5F4F5" valign="top" align='left'>

	   <table>
		  	<? if(empty($trailors_data)){
		  		echo 'No data found';
		  	}else{ 
		  	 foreach ($trailors_data as $row): ?>
		  <tr>
		       <td><img src="<?=base_url();?>assets/imgs/button-img.gif" /></td>
			   		
			 <td class="sidelinks"><a href="<?=base_url();?>trailors/details/<?=$row->id?>">
		  	<?=ucfirst(trim_name($row->movie_name,15));
			?></a></td>
		     		 </tr>

		  	<?
		  	endforeach; 
			}?>
			  </table>
		 </td>	
		  <td valign="top">
		     <table border="0" width="100%" bgcolor="#FFF8E5" style="padding-top:10px;">
		       <tr>
		         <td colspan="2" id="telugu_cinema" align="center">List of trailers Categorized by Movies</td>
		       </tr>
		        <tr>
		      	<?php $count=0; foreach ($movies as $Key => $value):?>
                	<td  width="50%">
                	 <div id="telugucinema-td">
                	 	<?php  $count++; echo $Key; ?>
                	 </div>
                	 <div>
                	 	<ul class="telugutrailers">
	           			<?php foreach ($value as $movie_details):?>
	              			<li><a href="<?=base_url();?>trailors/details/<?=$movie_details->id ?>"><?=ucwords($movie_details->movie_name)?></a></li>
	              		<? endforeach; ?>
	        		 	</ul>
                	 </div>
                	 <? if($count%2==0){?></td></tr> <? } endforeach; ?>
                <tr>
		           <td colspan="2" id="telugu_cinema" align="right">>>>>>>>>>>>>>>>>>>>>>>>>>>Enjoy!</td>
		        </tr>
		     
		     </table>
		   
		   
			</td>
		<td id="gossip_left_right" bgcolor="#707070">
		<!-- Begin: AdBrite, Generated: 2009-06-16 5:48:41  -->
<script type="text/javascript">
var AdBrite_Title_Color = 'E1771E';
var AdBrite_Text_Color = '000000';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'FFCC66';
var AdBrite_URL_Color = '008000';
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
</script>
<script type="text/javascript">document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1219263&zs=3132305f363030&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<div><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1219263&afsid=1" style="font-weight:bold;font-family:Arial;font-size:13px;">Your Ad Here</a></div>
<!-- End: AdBrite -->
		</td>
	</tr>

</table>